package com.ruiyi.adrobot.mongo.model;

import com.ruiyi.adrobot.domain.Model;
import com.ruiyi.adrobot.domain.common.MongoPageRequest;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ModelOperations {

    Page<Model> getListByPage(MongoPageRequest<Model> mongoPageRequest);

    void insertAll(List<Model> models);
}
